Fix block_attach_shared tests. When the sharing check succeeds, the domain
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 15 Dec 2005 13:49:07 +0000 (13:49 +0000)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Thu, 15 Dec 2005 13:49:07 +0000 (13:49 +0000)
commitd5461c7b296c1ee267cb68ea5ba9ef2e55cc7da1
treea146ea51db4747962964de6af74440cd181d7573
parent822fceff3433fa0c777cf102fd44ffa2da47685a
Fix block_attach_shared tests.  When the sharing check succeeds, the domain
is created but left paused, so it is necessary to destroy the domain afterwards,
whether the test succeeded or failed.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/xm-test/tests/block-create/11_block_attach_shared_dom0.py
tools/xm-test/tests/block-create/12_block_attach_shared_domU.py